package com.zlp.mapper;

import com.zlp.entity.SupplierCardDetail;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface SupplierCardDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SupplierCardDetail record);
    int batchInsert(List<SupplierCardDetail> records);

    int insertSelective(SupplierCardDetail record);

    SupplierCardDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SupplierCardDetail record);

    int updateByPrimaryKey(SupplierCardDetail record);

    List<SupplierCardDetail> getSupplierCardDetails(@Param("supplierCardIds") List<Integer> supplierCardIds);
}